import request from '@/axios'
//所有应用
export const getMoreProductApi = (data?: any): Promise<IResponse> => {
  return request.get({ url: '/moreProduct/pageList', params: data })
}
//广告平台
export const getTakuNetworksApi = (data?: any): Promise<IResponse> => {
  return request.get({ url: '/taku/networks', params: data })
}
//分时统计列表
export const getTakuHoursListApi = (data?: any): Promise<IResponse> => {
  return request.get({ url: '/taku/tkHour', params: data })
}
export const getUserAccessSourceApi = (): Promise<IResponse> => {
  return request.get({ url: '/mock/analysis/userAccessSource' })
}

export const getWeeklyUserActivityApi = (): Promise<IResponse> => {
  return request.get({ url: '/mock/analysis/weeklyUserActivity' })
}

export const getMonthlySalesApi = (): Promise<IResponse> => {
  return request.get({ url: '/mock/analysis/monthlySales' })
}
